﻿@{
    var _namespace = Model.ShareEntityNamespace.Replace("\\", ".");
    var ShareEntity_namespace = Model.ShareEntityNamespace.Replace("\\", ".");
    var ServerEntity_namespace = Model.ServerEntityNamespace.Replace("\\", ".");
    var ServerDao_namespace = Model.ServerDaoNamespace.Replace("\\", ".");
    var ServerBll_namespace = Model.ServerBllNamespace.Replace("\\", ".");
    var ServerController_namespace = Model.ServerControllerNamespace.Replace("\\", ".");
}
using @ServerBll_namespace.@Model.SonPath;
using @_namespace.@Model.SonPath;
using Infrastructure.Attributes.Ioc;
using Microsoft.AspNetCore.Mvc;

namespace @ServerController_namespace.@Model.SonPath
{
    /// <summary>
    /// by zhouxin
    /// action的 900 < SerialNumber < 1000
    ///</summary>
    [ApiController]
    [Route("@(Model.SonPath)/[controller]")]
    [Component(ServiceLifetime.Transient)]
    public class @(Model.TableInfo.ClassName)Controller : Base@(Model.PClass)Controller<@(Model.TableInfo.ClassName)Entity>
    {
        protected override @(Model.TableInfo.ClassName)Bll? Bll { get { return base.Bll as @(Model.TableInfo.ClassName)Bll; } }

        [Autowired]
        public @(Model.TableInfo.ClassName)Bll SetBll { set { this._Bll = value; } }
    }
}
